<template>
  <div>
    <el-form
      :model="form"
      ref="form"
      label-width="80px"
      :inline="false"
      size="normal"
    >
      <el-form-item label="昵称">
        <el-input :value="nickName" @input="$emit('input', $event)"></el-input>
      </el-form-item>
    </el-form>
  </div>
</template>
<script>
export default {
  model: {
    prop: 'nickName',
    event: 'input',
  },
  props: ['form', 'nickName'],
};
</script>
